//package com.hss.common.dialogs;
//
//import android.app.Dialog;
//import android.view.Display;
//import android.view.Gravity;
//import android.view.Window;
//import android.view.WindowManager;
//
//import com.hss.common.R;
//
///**
// * 作者：黄赛赛 on 2015/11/17 09:44
// *
// * @version V1.0
// * @Description: ${todo}()
// */
//public class DialogShow {
//    void showImageSelectDialog(){
//        Dialog dialog = new Dialog(this, R.style.lodDialog);
//        dialog .setContentView(R.layout.dialog_confirm_baby_info);
//
//        Window window = dialog.getWindow();
//        window.setGravity(Gravity.BOTTOM);  //此处可以设置dialog显示的位置
//        window.setWindowAnimations(R.style.style_image_select_dialog);  //添加动画
//
//        Display display = getWindowManager().getDefaultDisplay();
//        WindowManager.LayoutParams lp = dialog.getWindow().getAttributes();
//        lp.width = (int)(display.getWidth()); //设置宽度
//        dialog.getWindow().setAttributes(lp);
//        dialog.show();
//    }
//}
